const wqBook = {
  state: () => ({
    editingQuestion: {}, // 正则编辑的问题
    searchQuestionId: '', // 拍照搜题ID
    searchedQuestion: [] // 拍照搜题结果
  }),
  mutations: {
    setWqBookEditingQuestion(state, payload) {
      state.editingQuestion = payload
    },
    setSearchQuestionId(state, payload) {
      state.searchQuestionId = payload
    },
    setWqBookSearchedQuestion(state, payload) {
      state.searchedQuestion = payload
    }
  },
  actions: {}
}

export default wqBook
